createOfflineRegion

abstract fun createOfflineRegion(geometryDefinition: OfflineRegionGeometryDefinition, callback: OfflineRegionCreateCallback)

Creates a new offline region based on a geometry

Parameters

callback

Invoked upon success and failure. This callback is invoked on the database thread and the useris responsible for dispatching to an appropriate thread before passing it along.

geometryDefinition

A previously defined definition over the region.

abstract fun createOfflineRegion(tilePyramidDefinition: OfflineRegionTilePyramidDefinition, callback: OfflineRegionCreateCallback)

Creates a new offline region based on a tile pyramid

Parameters

callback

Invoked upon success and failure. This callback is invoked on the database thread and the useris responsible for dispatching to an appropriate thread before passing it along.

tilePyramidDefinition

A tile pyramid definition